#ifndef TCPSERVER_H
#define TCPSERVER_H

//-----------------------------------------------------------------------------
//
// TCPserver.h
//
// Group:
//    Doug Kline,          dakline@ncsu.edu
//    Mauricio Del Carpio, mgdelcar@ncsu.edu
//    Josh Jodrey,         jdjodrey@ncsu.edu
//
//
// This class creates, binds, and listens on a socket for client request.
// Each client request is passed off to the TCPhandler class for handling.
//
//-----------------------------------------------------------------------------


#define INVALID_SOCKET_FD -1

// This specifies how many requests may be queued up waiting for a kaccept()
#define MAX_LISTEN 10

int runServer(void *);

#endif // TCPSERVER_H
